import http from '@/uview-ui/libs/request'

export default {
	// 账号密码登录
	login : data => http.post('/api/login', data),
	// 验证码登录
	codeLogin : data => http.post('/api/codeLogin', data),
	// 获取验证码
	code : data => http.post('/api/code', data),
	// 用户注册
	register : data => http.post('/api/register', data),
	// 找回密码
	forgetPwd : data => http.post('/api/forgetPassword', data)
}